// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link{
  color: var(--el-color-primary) !important;
}

.el-pagination .el-select .el-input {
  width: 105px !important;
}

// 隐藏input的type为number时，隐藏右侧指示器
.el-input__inner::-webkit-input-placeholder {
  color: #606266; /* WebKit browsers */
}
.el-input__inner:-moz-placeholder {
  color: #606266; /* Mozilla Firefox 4 to 18 */
}
.el-input__inner::-moz-placeholder {
  color: #606266; /* Mozilla Firefox 19+ */
}
.el-input__inner:-ms-input-placeholder {
  color: #606266; /* Internet Explorer 10+ */
}
/*在谷歌下移除input[number]的上下箭头*/
.el-input__inner[type="number"]::-webkit-outer-spin-button,.el-input__inner[type="number"]::-webkit-inner-spin-button{
-webkit-appearance: none !important;
margin: 0;
}
/*在firefox下移除input[number]的上下箭头*/
.el-input__inner[type="number"] {
-moz-appearance: textfield !important;
appearance: none !important;
}

// radio单选框边框颜色与背景颜色
.el-radio__input.is-checked .el-radio__inner {
  border-color: var(--theme-deep-color) !important;
  background: var(--theme-deep-color) !important;
}

// radio单选框文字颜色
.el-radio__input.is-checked+.el-radio__label {
  color: var(--theme-deep-color) !important;
}

// 复选框背景/文字/hover颜色
.el-checkbox__input.is-checked+.el-checkbox__label {
  color: var(--theme-deep-color) !important
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: var(--theme-deep-color) !important;
  border-color: var(--theme-deep-color) !important;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: var(--theme-deep-color) !important;
  border-color: var(--theme-deep-color) !important;
}

.el-checkbox__inner:hover {
  border-color: var(--theme-deep-color) !important;
}